package com.xbongbong.saas.domain.entity;

import com.xbongbong.paas.toolbox.util.DateUtil;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author feng.zheng
 * @version v1.0
 * @date 2019/2/1 14:14
 * @since v1.0
 */
@Setter
@Getter
@ToString
public class CustomerExpressEntity implements Serializable {

    private static final long serialVersionUID = -8164395867653509756L;
    // 主键
    private Long id;
    // 公司id
    private String corpid;
    // 客户id
    private Long customerId;
    // 地址名称
    private String name;
    // 联系人
    private String contact;
    // 联系电话
    private String phone;
    // 省
    private String province;
    // 市
    private String city;
    // 区
    private String district;
    // 详细地址
    private String address;
    // 邮政编码
    private String zipCode;
    // 是否默认地址
    private Integer isDefault;
    // 创建人id
    private String creatorId;
    // 创建人姓名
    private String creatorName;
    // 最近修改人id
    private String modifierId;
    // 最近修改人名称
    private String modifierName;
    // 添加时间
    private Long addTime;
    // 更新时间
    private Long updateTime;
    // 删除标记
    private Integer del;

    public CustomerExpressEntity() {
        corpid = "";
        customerId = 0L;
        name = "";
        contact = "";
        phone = "";
        province = "";
        city = "";
        district = "";
        address = "";
        zipCode = "";
        isDefault = 0;
        creatorId = "";
        creatorName = "";
        modifierId = "";
        modifierName = "";
        addTime = (long) DateUtil.getInt();
        updateTime = (long) DateUtil.getInt();
        del = 0;
    }
}
